class GameCharacter:
    def __init__(self,name,weapon):
        self.name = name
        self.weapon = weapon

    def walk(self):
        print('Walking...')

    def speak(self):
        print('%s在此' % self.name)

    def attack(self,target):
        print('Attack %s' % target)
#if __name__ == '__main__':
#    lvbu = GameCharacter('吕布','方天画戟')
#    lvbu.walk()
#    lvbu.speak()
#

